package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.CommentTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import lombok.Data;
import java.util.Date;

/**
 * 用户点赞对象 user_like_record
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("用户点赞-列表")
@Data
public class UserLikeRecordListPcVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("板块")
    @JsonSerialize(converter = CommentTypeEnum.Covert.class)
    private String plate;

    @ApiModelProperty("相关记录ID")
    private Long recordId;

    @ApiModelProperty("点赞人")
    private Long upPerson;

    @ApiModelProperty("创建时间")
    private Date creTime;

}
